<#include "ui/formBuilder.ftl" />

     <div class="left_popup">
       <BR />
       League<br />
       Shout Box<br />
       <span class="left_head"></span></div>

		<#list domos as domo>
	     <div class="news_area">
	       <p class="news_head">${domo.from!'unknown'}</p>
	       <p><i>${domo.createdDate?datetime}</i></p>
	       <BR />
	       <p>${domo.message!""}</p>
<#--
	       <p><a href="#" class="news_link">Maecenas tempus</a></p>
-->
	     </div>
	     </#list>

		<#if currentUser??>
			<input type="button" alt="#TB_inline?height=155&width=300&inlineId=hiddenShoutForm&" class="thickbox" title="Shout!" value="Shout!" />
	
			<div class="spacer"></div>
			<@pageErrors />
					
			<@s.form theme="simple" id="hiddenShoutForm" cssStyle="display:none;" action="${request.contextPath}/shout" method="POST" validate="true">
				<@s.textarea cssStyle="width:130px; height:50px;" name="model.message" />
				<BR />
				<@s.submit value="Shout!" />
			</@s.form>
		</#if>